import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
import reportWebVitals from './reportWebVitals';
//引入全局的样式
import '../src/styles/index.scss'

// 2. 引入 antd   全局的CSS 
import 'antd/dist/antd.css';
//mobx
import {Provider} from 'mobx-react'
import { store } from './mobx/store';

console.log("react 项目的主入口文件");

//  <React.StrictMode>严格模式
ReactDOM.render(
<Provider {...store}>
<App />
</Provider>,
    
  document.getElementById('root')
);

// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
reportWebVitals();
